package com.liyu.pojo;

/***
 * desc:User pojo 类
 * @author Yuhaotian
 * @date. 2022/10/14 22:39
 * @version 1.0
 */
public class Goods {
    /**
     * 商品Id
     */
    private String id;
    /**
     * 商品名
     */
    private String goodsName;
    /**
     * 商品价格
     */
    private Double price;
    /**
     * 商品数量
     */
    private Integer quantity;
    /**
     * 卖家Id
     */
    private String sellerId;
    /**
     * 商品详情
     */
    private String goodsDesc;
    /**
     * 商品状态
     */
    private Integer status;
    /**
     * 商品图片数量
     */
    private Integer image;



    @Override
    public String toString() {
        return "Goods{" +
                "id='" + id + '\'' +
                ", goodName='" + goodsName + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                ", sellerId='" + sellerId + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", status=" + status +
                ", image='" + image + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public Integer getImage() {
        return image;
    }

    public void setImage(Integer image) {
        this.image = image;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}

